package com.xiaoxu.bbs.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;


@Data
@TableName("TBL_BOARD")
public class Board {
	//板块ID
	private Long id;
	//板块名称
	private String boardName;
	//父板块ID
	private Long parentId;
	//板块图片
	private String boardImg;
	//修改时间
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private LocalDateTime updateTime;
	//创建时间
	@TableField(fill = FieldFill.INSERT)
	private LocalDateTime createTime;
}
